package com.shelpe.services.scheduler.syncclient;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import com.shelpe.services.scheduler.dto.CatDataDto;


@FeignClient(name="${simbasync.serviceID}", url="${simbasync.url}")
@RequestMapping(value = "/simbasync")
public interface CategoryClient {
	
    @RequestMapping(method = RequestMethod.GET, value = "/category")
    public CatDataDto syncInsightCategoryData(@RequestParam("category_ids") String cids);

}
